
interface LoginUserParams {
  username: string
  password: string
}

interface CreateUserParams extends LoginUserParams {
  email: string
}

interface UserInfo {
  id: string
  username: string
  email: string
  avatar: string
  token: string
}

interface File {
  file: File
}


interface UploadUser {
  avatar: string
  username: string
}

interface Params {
  page: number
  size: number
  username? : string
}

interface UserInfoS {
  id: string
  username: string
  email: string
  created_at: string
  update_at: string
  avatar: string
}

export type { CreateUserParams , LoginUserParams, UserInfo, File, UploadUser, Params, UserInfoS } 